﻿@model Susha.Models.Pages.NewsPage

@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

@section scripts{
    @Scripts.Render("/Scripts/common/user.js")
}
<h1>Новость</h1>
<div id="news-container">
    <div id="news-title">@Model.NewNews.Title</div>
    <img src="@Url.Content("~/Content/i/")@Model.NewNews.BigPhoto" id="news-image" /><br />
    <div id="news-text">@Model.NewNews.Text</div>
</div>
<div id="news-column">
    <div id="news-column-title">
        Последние новости:
    </div>
    @foreach (Susha.Models.News news in Model.LatestNews)
    {
        @news.Title<br />
        <img src="@Url.Content("~/Content/i/")@news.SmallPhoto" /><br />
        <p class="small-text">@news.SmallText</p>
    }
</div>
<div class="end"></div>
